Integrand size = 35, antiderivative size = 181 \[ \int \frac {(a+a \cos (c+d x))^{5/2} (A+B \cos (c+d x))}{\cos ^{\frac {9}{2}}(c+d x)} \, dx=\frac {2 a^3 (10 A+11 B) \sin (c+d x)}{15 d \cos ^{\frac {3}{2}}(c+d x) \sqrt {a+a \cos (c+d x)}}+\frac {2 a^3 (230 A+301 B) \sin (c+d x)}{105 d \sqrt {\cos (c+d x)} \sqrt {a+a \cos (c+d x)}}+\frac {2 a^2 (10 A+7 B) \sqrt {a+a \cos (c+d x)} \sin (c+d x)}{35 d \cos ^{\frac {5}{2}}(c+d x)}+\frac {2 a A (a+a \cos (c+d x))^{3/2} \sin (c+d x)}{7 d \cos ^{\frac {7}{2}}(c+d x)} \]
2/7*a*A*(a+a*cos(d*x+c))^(3/2)*sin(d*x+c)/d/cos(d*x+c)^(7/2)+2/15*a^3*(10* A+11*B)*sin(d*x+c)/d/cos(d*x+c)^(3/2)/(a+a*cos(d*x+c))^(1/2)+2/105*a^3*(23 0*A+301*B)*sin(d*x+c)/d/cos(d*x+c)^(1/2)/(a+a*cos(d*x+c))^(1/2)+2/35*a^2*( 10*A+7*B)*sin(d*x+c)*(a+a*cos(d*x+c))^(1/2)/d/cos(d*x+c)^(5/2)
Time = 0.40 (sec) , antiderivative size = 104, normalized size of antiderivative = 0.57 \[ \int \frac {(a+a \cos (c+d x))^{5/2} (A+B \cos (c+d x))}{\cos ^{\frac {9}{2}}(c+d x)} \, dx=\frac {a^2 \sqrt {a (1+\cos (c+d x))} (290 A+196 B+(930 A+987 B) \cos (c+d x)+2 (115 A+98 B) \cos (2 (c+d x))+230 A \cos (3 (c+d x))+301 B \cos (3 (c+d x))) \tan \left (\frac {1}{2} (c+d x)\right )}{210 d \cos ^{\frac {7}{2}}(c+d x)} \]
(a^2*Sqrt[a*(1 + Cos[c + d*x])]*(290*A + 196*B + (930*A + 987*B)*Cos[c + d *x] + 2*(115*A + 98*B)*Cos[2*(c + d*x)] + 230*A*Cos[3*(c + d*x)] + 301*B*C os[3*(c + d*x)])*Tan[(c + d*x)/2])/(210*d*Cos[c + d*x]^(7/2))
Time = 1.04 (sec) , antiderivative size = 191, normalized size of antiderivative = 1.06, number of steps used = 10, number of rules used = 10, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.286, Rules used = {3042, 3454, 27, 3042, 3454, 27, 3042, 3459, 3042, 3250}
Below are the steps used by Rubi to obtain the solution. The rule number used for the transformation is given above next to the arrow. The rules definitions used are listed below.
\(\displaystyle \int \frac {(a \cos (c+d x)+a)^{5/2} (A+B \cos (c+d x))}{\cos ^{\frac {9}{2}}(c+d x)} \, dx\) |
\(\Big \downarrow \) 3042 |
\(\displaystyle \int \frac {\left (a \sin \left (c+d x+\frac {\pi }{2}\right )+a\right )^{5/2} \left (A+B \sin \left (c+d x+\frac {\pi }{2}\right )\right )}{\sin \left (c+d x+\frac {\pi }{2}\right )^{9/2}}dx\) |
\(\Big \downarrow \) 3454 |
\(\displaystyle \frac {2}{7} \int \frac {(\cos (c+d x) a+a)^{3/2} (a (10 A+7 B)+a (2 A+7 B) \cos (c+d x))}{2 \cos ^{\frac {7}{2}}(c+d x)}dx+\frac {2 a A \sin (c+d x) (a \cos (c+d x)+a)^{3/2}}{7 d \cos ^{\frac {7}{2}}(c+d x)}\) |
\(\Big \downarrow \) 27 |
\(\displaystyle \frac {1}{7} \int \frac {(\cos (c+d x) a+a)^{3/2} (a (10 A+7 B)+a (2 A+7 B) \cos (c+d x))}{\cos ^{\frac {7}{2}}(c+d x)}dx+\frac {2 a A \sin (c+d x) (a \cos (c+d x)+a)^{3/2}}{7 d \cos ^{\frac {7}{2}}(c+d x)}\) |
\(\Big \downarrow \) 3042 |
\(\displaystyle \frac {1}{7} \int \frac {\left (\sin \left (c+d x+\frac {\pi }{2}\right ) a+a\right )^{3/2} \left (a (10 A+7 B)+a (2 A+7 B) \sin \left (c+d x+\frac {\pi }{2}\right )\right )}{\sin \left (c+d x+\frac {\pi }{2}\right )^{7/2}}dx+\frac {2 a A \sin (c+d x) (a \cos (c+d x)+a)^{3/2}}{7 d \cos ^{\frac {7}{2}}(c+d x)}\) |
\(\Big \downarrow \) 3454 |
\(\displaystyle \frac {1}{7} \left (\frac {2}{5} \int \frac {\sqrt {\cos (c+d x) a+a} \left (7 (10 A+11 B) a^2+(30 A+49 B) \cos (c+d x) a^2\right )}{2 \cos ^{\frac {5}{2}}(c+d x)}dx+\frac {2 a^2 (10 A+7 B) \sin (c+d x) \sqrt {a \cos (c+d x)+a}}{5 d \cos ^{\frac {5}{2}}(c+d x)}\right )+\frac {2 a A \sin (c+d x) (a \cos (c+d x)+a)^{3/2}}{7 d \cos ^{\frac {7}{2}}(c+d x)}\) |
\(\Big \downarrow \) 27 |
\(\displaystyle \frac {1}{7} \left (\frac {1}{5} \int \frac {\sqrt {\cos (c+d x) a+a} \left (7 (10 A+11 B) a^2+(30 A+49 B) \cos (c+d x) a^2\right )}{\cos ^{\frac {5}{2}}(c+d x)}dx+\frac {2 a^2 (10 A+7 B) \sin (c+d x) \sqrt {a \cos (c+d x)+a}}{5 d \cos ^{\frac {5}{2}}(c+d x)}\right )+\frac {2 a A \sin (c+d x) (a \cos (c+d x)+a)^{3/2}}{7 d \cos ^{\frac {7}{2}}(c+d x)}\) |
\(\Big \downarrow \) 3042 |
\(\displaystyle \frac {1}{7} \left (\frac {1}{5} \int \frac {\sqrt {\sin \left (c+d x+\frac {\pi }{2}\right ) a+a} \left (7 (10 A+11 B) a^2+(30 A+49 B) \sin \left (c+d x+\frac {\pi }{2}\right ) a^2\right )}{\sin \left (c+d x+\frac {\pi }{2}\right )^{5/2}}dx+\frac {2 a^2 (10 A+7 B) \sin (c+d x) \sqrt {a \cos (c+d x)+a}}{5 d \cos ^{\frac {5}{2}}(c+d x)}\right )+\frac {2 a A \sin (c+d x) (a \cos (c+d x)+a)^{3/2}}{7 d \cos ^{\frac {7}{2}}(c+d x)}\) |
\(\Big \downarrow \) 3459 |
\(\displaystyle \frac {1}{7} \left (\frac {1}{5} \left (\frac {1}{3} a^2 (230 A+301 B) \int \frac {\sqrt {\cos (c+d x) a+a}}{\cos ^{\frac {3}{2}}(c+d x)}dx+\frac {14 a^3 (10 A+11 B) \sin (c+d x)}{3 d \cos ^{\frac {3}{2}}(c+d x) \sqrt {a \cos (c+d x)+a}}\right )+\frac {2 a^2 (10 A+7 B) \sin (c+d x) \sqrt {a \cos (c+d x)+a}}{5 d \cos ^{\frac {5}{2}}(c+d x)}\right )+\frac {2 a A \sin (c+d x) (a \cos (c+d x)+a)^{3/2}}{7 d \cos ^{\frac {7}{2}}(c+d x)}\) |
\(\Big \downarrow \) 3042 |
\(\displaystyle \frac {1}{7} \left (\frac {1}{5} \left (\frac {1}{3} a^2 (230 A+301 B) \int \frac {\sqrt {\sin \left (c+d x+\frac {\pi }{2}\right ) a+a}}{\sin \left (c+d x+\frac {\pi }{2}\right )^{3/2}}dx+\frac {14 a^3 (10 A+11 B) \sin (c+d x)}{3 d \cos ^{\frac {3}{2}}(c+d x) \sqrt {a \cos (c+d x)+a}}\right )+\frac {2 a^2 (10 A+7 B) \sin (c+d x) \sqrt {a \cos (c+d x)+a}}{5 d \cos ^{\frac {5}{2}}(c+d x)}\right )+\frac {2 a A \sin (c+d x) (a \cos (c+d x)+a)^{3/2}}{7 d \cos ^{\frac {7}{2}}(c+d x)}\) |
\(\Big \downarrow \) 3250 |
\(\displaystyle \frac {1}{7} \left (\frac {1}{5} \left (\frac {14 a^3 (10 A+11 B) \sin (c+d x)}{3 d \cos ^{\frac {3}{2}}(c+d x) \sqrt {a \cos (c+d x)+a}}+\frac {2 a^3 (230 A+301 B) \sin (c+d x)}{3 d \sqrt {\cos (c+d x)} \sqrt {a \cos (c+d x)+a}}\right )+\frac {2 a^2 (10 A+7 B) \sin (c+d x) \sqrt {a \cos (c+d x)+a}}{5 d \cos ^{\frac {5}{2}}(c+d x)}\right )+\frac {2 a A \sin (c+d x) (a \cos (c+d x)+a)^{3/2}}{7 d \cos ^{\frac {7}{2}}(c+d x)}\) |
(2*a*A*(a + a*Cos[c + d*x])^(3/2)*Sin[c + d*x])/(7*d*Cos[c + d*x]^(7/2)) + ((2*a^2*(10*A + 7*B)*Sqrt[a + a*Cos[c + d*x]]*Sin[c + d*x])/(5*d*Cos[c + d*x]^(5/2)) + ((14*a^3*(10*A + 11*B)*Sin[c + d*x])/(3*d*Cos[c + d*x]^(3/2) *Sqrt[a + a*Cos[c + d*x]]) + (2*a^3*(230*A + 301*B)*Sin[c + d*x])/(3*d*Sqr t[Cos[c + d*x]]*Sqrt[a + a*Cos[c + d*x]]))/5)/7
3.2.88.3.1 Defintions of rubi rules used
Int[(a_)*(Fx_), x_Symbol] :> Simp[a Int[Fx, x], x] /; FreeQ[a, x] && !Ma tchQ[Fx, (b_)*(Gx_) /; FreeQ[b, x]]
Int[Sqrt[(a_) + (b_.)*sin[(e_.) + (f_.)*(x_)]]/((c_.) + (d_.)*sin[(e_.) + ( f_.)*(x_)])^(3/2), x_Symbol] :> Simp[-2*b^2*(Cos[e + f*x]/(f*(b*c + a*d)*Sq rt[a + b*Sin[e + f*x]]*Sqrt[c + d*Sin[e + f*x]])), x] /; FreeQ[{a, b, c, d, e, f}, x] && NeQ[b*c - a*d, 0] && EqQ[a^2 - b^2, 0] && NeQ[c^2 - d^2, 0]
Int[((a_) + (b_.)*sin[(e_.) + (f_.)*(x_)])^(m_)*((A_.) + (B_.)*sin[(e_.) + (f_.)*(x_)])*((c_.) + (d_.)*sin[(e_.) + (f_.)*(x_)])^(n_), x_Symbol] :> Sim p[(-b^2)*(B*c - A*d)*Cos[e + f*x]*(a + b*Sin[e + f*x])^(m - 1)*((c + d*Sin[ e + f*x])^(n + 1)/(d*f*(n + 1)*(b*c + a*d))), x] - Simp[b/(d*(n + 1)*(b*c + a*d)) Int[(a + b*Sin[e + f*x])^(m - 1)*(c + d*Sin[e + f*x])^(n + 1)*Simp [a*A*d*(m - n - 2) - B*(a*c*(m - 1) + b*d*(n + 1)) - (A*b*d*(m + n + 1) - B *(b*c*m - a*d*(n + 1)))*Sin[e + f*x], x], x], x] /; FreeQ[{a, b, c, d, e, f , A, B}, x] && NeQ[b*c - a*d, 0] && EqQ[a^2 - b^2, 0] && NeQ[c^2 - d^2, 0] && GtQ[m, 1/2] && LtQ[n, -1] && IntegerQ[2*m] && (IntegerQ[2*n] || EqQ[c, 0 ])
Int[Sqrt[(a_) + (b_.)*sin[(e_.) + (f_.)*(x_)]]*((A_.) + (B_.)*sin[(e_.) + ( f_.)*(x_)])*((c_.) + (d_.)*sin[(e_.) + (f_.)*(x_)])^(n_), x_Symbol] :> Simp [(-b^2)*(B*c - A*d)*Cos[e + f*x]*((c + d*Sin[e + f*x])^(n + 1)/(d*f*(n + 1) *(b*c + a*d)*Sqrt[a + b*Sin[e + f*x]])), x] + Simp[(A*b*d*(2*n + 3) - B*(b* c - 2*a*d*(n + 1)))/(2*d*(n + 1)*(b*c + a*d)) Int[Sqrt[a + b*Sin[e + f*x] ]*(c + d*Sin[e + f*x])^(n + 1), x], x] /; FreeQ[{a, b, c, d, e, f, A, B}, x ] && NeQ[b*c - a*d, 0] && EqQ[a^2 - b^2, 0] && NeQ[c^2 - d^2, 0] && LtQ[n, -1]
Time = 8.28 (sec) , antiderivative size = 111, normalized size of antiderivative = 0.61
method | result | size |
default | \(\frac {2 a^{2} \sin \left (d x +c \right ) \left (230 A \left (\cos ^{3}\left (d x +c \right )\right )+301 B \left (\cos ^{3}\left (d x +c \right )\right )+115 A \left (\cos ^{2}\left (d x +c \right )\right )+98 B \left (\cos ^{2}\left (d x +c \right )\right )+60 A \cos \left (d x +c \right )+21 B \cos \left (d x +c \right )+15 A \right ) \sqrt {a \left (1+\cos \left (d x +c \right )\right )}}{105 d \left (1+\cos \left (d x +c \right )\right ) \cos \left (d x +c \right )^{\frac {7}{2}}}\) | \(111\) |
parts | \(\frac {2 A \sin \left (d x +c \right ) \left (46 \left (\cos ^{3}\left (d x +c \right )\right )+23 \left (\cos ^{2}\left (d x +c \right )\right )+12 \cos \left (d x +c \right )+3\right ) \sqrt {a \left (1+\cos \left (d x +c \right )\right )}\, a^{2}}{21 d \left (1+\cos \left (d x +c \right )\right ) \cos \left (d x +c \right )^{\frac {7}{2}}}+\frac {2 B \sin \left (d x +c \right ) \left (43 \left (\cos ^{2}\left (d x +c \right )\right )+14 \cos \left (d x +c \right )+3\right ) \sqrt {a \left (1+\cos \left (d x +c \right )\right )}\, a^{2}}{15 d \left (1+\cos \left (d x +c \right )\right ) \cos \left (d x +c \right )^{\frac {5}{2}}}\) | \(142\) |
2/105*a^2/d*sin(d*x+c)*(230*A*cos(d*x+c)^3+301*B*cos(d*x+c)^3+115*A*cos(d* x+c)^2+98*B*cos(d*x+c)^2+60*A*cos(d*x+c)+21*B*cos(d*x+c)+15*A)*(a*(1+cos(d *x+c)))^(1/2)/(1+cos(d*x+c))/cos(d*x+c)^(7/2)
Time = 0.32 (sec) , antiderivative size = 114, normalized size of antiderivative = 0.63 \[ \int \frac {(a+a \cos (c+d x))^{5/2} (A+B \cos (c+d x))}{\cos ^{\frac {9}{2}}(c+d x)} \, dx=\frac {2 \, {\left ({\left (230 \, A + 301 \, B\right )} a^{2} \cos \left (d x + c\right )^{3} + {\left (115 \, A + 98 \, B\right )} a^{2} \cos \left (d x + c\right )^{2} + 3 \, {\left (20 \, A + 7 \, B\right )} a^{2} \cos \left (d x + c\right ) + 15 \, A a^{2}\right )} \sqrt {a \cos \left (d x + c\right ) + a} \sqrt {\cos \left (d x + c\right )} \sin \left (d x + c\right )}{105 \, {\left (d \cos \left (d x + c\right )^{5} + d \cos \left (d x + c\right )^{4}\right )}} \]
2/105*((230*A + 301*B)*a^2*cos(d*x + c)^3 + (115*A + 98*B)*a^2*cos(d*x + c )^2 + 3*(20*A + 7*B)*a^2*cos(d*x + c) + 15*A*a^2)*sqrt(a*cos(d*x + c) + a) *sqrt(cos(d*x + c))*sin(d*x + c)/(d*cos(d*x + c)^5 + d*cos(d*x + c)^4)
Timed out. \[ \int \frac {(a+a \cos (c+d x))^{5/2} (A+B \cos (c+d x))}{\cos ^{\frac {9}{2}}(c+d x)} \, dx=\text {Timed out} \]
Leaf count of result is larger than twice the leaf count of optimal. 396 vs. \(2 (157) = 314\).
Time = 0.34 (sec) , antiderivative size = 396, normalized size of antiderivative = 2.19 \[ \int \frac {(a+a \cos (c+d x))^{5/2} (A+B \cos (c+d x))}{\cos ^{\frac {9}{2}}(c+d x)} \, dx=\frac {8 \, {\left (\frac {7 \, {\left (\frac {15 \, \sqrt {2} a^{\frac {5}{2}} \sin \left (d x + c\right )}{\cos \left (d x + c\right ) + 1} - \frac {35 \, \sqrt {2} a^{\frac {5}{2}} \sin \left (d x + c\right )^{3}}{{\left (\cos \left (d x + c\right ) + 1\right )}^{3}} + \frac {28 \, \sqrt {2} a^{\frac {5}{2}} \sin \left (d x + c\right )^{5}}{{\left (\cos \left (d x + c\right ) + 1\right )}^{5}} - \frac {8 \, \sqrt {2} a^{\frac {5}{2}} \sin \left (d x + c\right )^{7}}{{\left (\cos \left (d x + c\right ) + 1\right )}^{7}}\right )} B}{{\left (\frac {\sin \left (d x + c\right )}{\cos \left (d x + c\right ) + 1} + 1\right )}^{\frac {7}{2}} {\left (-\frac {\sin \left (d x + c\right )}{\cos \left (d x + c\right ) + 1} + 1\right )}^{\frac {7}{2}}} + \frac {5 \, {\left (\frac {21 \, \sqrt {2} a^{\frac {5}{2}} \sin \left (d x + c\right )}{\cos \left (d x + c\right ) + 1} - \frac {56 \, \sqrt {2} a^{\frac {5}{2}} \sin \left (d x + c\right )^{3}}{{\left (\cos \left (d x + c\right ) + 1\right )}^{3}} + \frac {63 \, \sqrt {2} a^{\frac {5}{2}} \sin \left (d x + c\right )^{5}}{{\left (\cos \left (d x + c\right ) + 1\right )}^{5}} - \frac {36 \, \sqrt {2} a^{\frac {5}{2}} \sin \left (d x + c\right )^{7}}{{\left (\cos \left (d x + c\right ) + 1\right )}^{7}} + \frac {8 \, \sqrt {2} a^{\frac {5}{2}} \sin \left (d x + c\right )^{9}}{{\left (\cos \left (d x + c\right ) + 1\right )}^{9}}\right )} A {\left (\frac {\sin \left (d x + c\right )^{2}}{{\left (\cos \left (d x + c\right ) + 1\right )}^{2}} + 1\right )}^{2}}{{\left (\frac {\sin \left (d x + c\right )}{\cos \left (d x + c\right ) + 1} + 1\right )}^{\frac {9}{2}} {\left (-\frac {\sin \left (d x + c\right )}{\cos \left (d x + c\right ) + 1} + 1\right )}^{\frac {9}{2}} {\left (\frac {2 \, \sin \left (d x + c\right )^{2}}{{\left (\cos \left (d x + c\right ) + 1\right )}^{2}} + \frac {\sin \left (d x + c\right )^{4}}{{\left (\cos \left (d x + c\right ) + 1\right )}^{4}} + 1\right )}}\right )}}{105 \, d} \]
8/105*(7*(15*sqrt(2)*a^(5/2)*sin(d*x + c)/(cos(d*x + c) + 1) - 35*sqrt(2)* a^(5/2)*sin(d*x + c)^3/(cos(d*x + c) + 1)^3 + 28*sqrt(2)*a^(5/2)*sin(d*x + c)^5/(cos(d*x + c) + 1)^5 - 8*sqrt(2)*a^(5/2)*sin(d*x + c)^7/(cos(d*x + c ) + 1)^7)*B/((sin(d*x + c)/(cos(d*x + c) + 1) + 1)^(7/2)*(-sin(d*x + c)/(c os(d*x + c) + 1) + 1)^(7/2)) + 5*(21*sqrt(2)*a^(5/2)*sin(d*x + c)/(cos(d*x + c) + 1) - 56*sqrt(2)*a^(5/2)*sin(d*x + c)^3/(cos(d*x + c) + 1)^3 + 63*s qrt(2)*a^(5/2)*sin(d*x + c)^5/(cos(d*x + c) + 1)^5 - 36*sqrt(2)*a^(5/2)*si n(d*x + c)^7/(cos(d*x + c) + 1)^7 + 8*sqrt(2)*a^(5/2)*sin(d*x + c)^9/(cos( d*x + c) + 1)^9)*A*(sin(d*x + c)^2/(cos(d*x + c) + 1)^2 + 1)^2/((sin(d*x + c)/(cos(d*x + c) + 1) + 1)^(9/2)*(-sin(d*x + c)/(cos(d*x + c) + 1) + 1)^( 9/2)*(2*sin(d*x + c)^2/(cos(d*x + c) + 1)^2 + sin(d*x + c)^4/(cos(d*x + c) + 1)^4 + 1)))/d
Result contains complex when optimal does not.
Time = 244.27 (sec) , antiderivative size = 169051, normalized size of antiderivative = 933.98 \[ \int \frac {(a+a \cos (c+d x))^{5/2} (A+B \cos (c+d x))}{\cos ^{\frac {9}{2}}(c+d x)} \, dx=\text {Too large to display} \]
-33554432/105*sqrt(2)*sqrt(-tan(1/4*d*x + c)^4*tan(1/2*c)^8 + 14*tan(1/4*d *x + c)^4*tan(1/2*c)^6 - 24*tan(1/4*d*x + c)^3*tan(1/2*c)^7 + 6*tan(1/4*d* x + c)^2*tan(1/2*c)^8 + 56*tan(1/4*d*x + c)^3*tan(1/2*c)^5 - 84*tan(1/4*d* x + c)^2*tan(1/2*c)^6 + 24*tan(1/4*d*x + c)*tan(1/2*c)^7 - tan(1/2*c)^8 - 14*tan(1/4*d*x + c)^4*tan(1/2*c)^2 + 56*tan(1/4*d*x + c)^3*tan(1/2*c)^3 - 56*tan(1/4*d*x + c)*tan(1/2*c)^5 + 14*tan(1/2*c)^6 + tan(1/4*d*x + c)^4 - 24*tan(1/4*d*x + c)^3*tan(1/2*c) + 84*tan(1/4*d*x + c)^2*tan(1/2*c)^2 - 56 *tan(1/4*d*x + c)*tan(1/2*c)^3 - 6*tan(1/4*d*x + c)^2 + 24*tan(1/4*d*x + c )*tan(1/2*c) - 14*tan(1/2*c)^2 + 1)*(((((((((((((((230*I*A*a^2*e^(1027/2*I *c) + 301*I*B*a^2*e^(1027/2*I*c) + 89700*I*A*a^2*e^(1025/2*I*c) + 117390*I *B*a^2*e^(1025/2*I*c) + 17446650*I*A*a^2*e^(1023/2*I*c) + 22832355*I*B*a^2 *e^(1023/2*I*c) + 2256433400*I*A*a^2*e^(1021/2*I*c) + 2952984475*I*B*a^2*e ^(1021/2*I*c) + 218309931450*I*A*a^2*e^(1019/2*I*c) + 285701217165*I*B*a^2 *e^(1019/2*I*c) + 16853526707940*I*A*a^2*e^(1017/2*I*c) + 22056129161703*I *B*a^2*e^(1017/2*I*c) + 1081434630427540*I*A*a^2*e^(1015/2*I*c) + 14152677 68839799*I*B*a^2*e^(1015/2*I*c) + 59324414012490900*I*A*a^2*e^(1013/2*I*c) + 77637503022633645*I*B*a^2*e^(1013/2*I*c) + 2840156320927487250*I*A*a^2* e^(1011/2*I*c) + 3716892534681247740*I*B*a^2*e^(1011/2*I*c) + 120548857186 305888250*I*A*a^2*e^(1009/2*I*c) + 157761271574607074465*I*B*a^2*e^(1009/2 *I*c) + 4592911459598047037790*I*A*a^2*e^(1007/2*I*c) + 601069617499231...
Time = 7.19 (sec) , antiderivative size = 551, normalized size of antiderivative = 3.04 \[ \int \frac {(a+a \cos (c+d x))^{5/2} (A+B \cos (c+d x))}{\cos ^{\frac {9}{2}}(c+d x)} \, dx=\frac {\sqrt {a+a\,\left (\frac {{\mathrm {e}}^{-c\,1{}\mathrm {i}-d\,x\,1{}\mathrm {i}}}{2}+\frac {{\mathrm {e}}^{c\,1{}\mathrm {i}+d\,x\,1{}\mathrm {i}}}{2}\right )}\,\left (\frac {a^2\,\left (230\,A+301\,B\right )\,2{}\mathrm {i}}{105\,d}-\frac {a^2\,{\mathrm {e}}^{c\,3{}\mathrm {i}+d\,x\,3{}\mathrm {i}}\,\left (10\,A+17\,B\right )\,2{}\mathrm {i}}{3\,d}+\frac {a^2\,{\mathrm {e}}^{c\,4{}\mathrm {i}+d\,x\,4{}\mathrm {i}}\,\left (10\,A+17\,B\right )\,2{}\mathrm {i}}{3\,d}+\frac {a^2\,{\mathrm {e}}^{c\,2{}\mathrm {i}+d\,x\,2{}\mathrm {i}}\,\left (100\,A+113\,B\right )\,2{}\mathrm {i}}{15\,d}-\frac {a^2\,{\mathrm {e}}^{c\,5{}\mathrm {i}+d\,x\,5{}\mathrm {i}}\,\left (100\,A+113\,B\right )\,2{}\mathrm {i}}{15\,d}-\frac {a^2\,{\mathrm {e}}^{c\,7{}\mathrm {i}+d\,x\,7{}\mathrm {i}}\,\left (230\,A+301\,B\right )\,2{}\mathrm {i}}{105\,d}-\frac {B\,a^2\,{\mathrm {e}}^{c\,1{}\mathrm {i}+d\,x\,1{}\mathrm {i}}\,2{}\mathrm {i}}{d}+\frac {B\,a^2\,{\mathrm {e}}^{c\,6{}\mathrm {i}+d\,x\,6{}\mathrm {i}}\,2{}\mathrm {i}}{d}\right )}{\sqrt {\frac {{\mathrm {e}}^{-c\,1{}\mathrm {i}-d\,x\,1{}\mathrm {i}}}{2}+\frac {{\mathrm {e}}^{c\,1{}\mathrm {i}+d\,x\,1{}\mathrm {i}}}{2}}+{\mathrm {e}}^{c\,1{}\mathrm {i}+d\,x\,1{}\mathrm {i}}\,\sqrt {\frac {{\mathrm {e}}^{-c\,1{}\mathrm {i}-d\,x\,1{}\mathrm {i}}}{2}+\frac {{\mathrm {e}}^{c\,1{}\mathrm {i}+d\,x\,1{}\mathrm {i}}}{2}}+3\,{\mathrm {e}}^{c\,2{}\mathrm {i}+d\,x\,2{}\mathrm {i}}\,\sqrt {\frac {{\mathrm {e}}^{-c\,1{}\mathrm {i}-d\,x\,1{}\mathrm {i}}}{2}+\frac {{\mathrm {e}}^{c\,1{}\mathrm {i}+d\,x\,1{}\mathrm {i}}}{2}}+3\,{\mathrm {e}}^{c\,3{}\mathrm {i}+d\,x\,3{}\mathrm {i}}\,\sqrt {\frac {{\mathrm {e}}^{-c\,1{}\mathrm {i}-d\,x\,1{}\mathrm {i}}}{2}+\frac {{\mathrm {e}}^{c\,1{}\mathrm {i}+d\,x\,1{}\mathrm {i}}}{2}}+3\,{\mathrm {e}}^{c\,4{}\mathrm {i}+d\,x\,4{}\mathrm {i}}\,\sqrt {\frac {{\mathrm {e}}^{-c\,1{}\mathrm {i}-d\,x\,1{}\mathrm {i}}}{2}+\frac {{\mathrm {e}}^{c\,1{}\mathrm {i}+d\,x\,1{}\mathrm {i}}}{2}}+3\,{\mathrm {e}}^{c\,5{}\mathrm {i}+d\,x\,5{}\mathrm {i}}\,\sqrt {\frac {{\mathrm {e}}^{-c\,1{}\mathrm {i}-d\,x\,1{}\mathrm {i}}}{2}+\frac {{\mathrm {e}}^{c\,1{}\mathrm {i}+d\,x\,1{}\mathrm {i}}}{2}}+{\mathrm {e}}^{c\,6{}\mathrm {i}+d\,x\,6{}\mathrm {i}}\,\sqrt {\frac {{\mathrm {e}}^{-c\,1{}\mathrm {i}-d\,x\,1{}\mathrm {i}}}{2}+\frac {{\mathrm {e}}^{c\,1{}\mathrm {i}+d\,x\,1{}\mathrm {i}}}{2}}+{\mathrm {e}}^{c\,7{}\mathrm {i}+d\,x\,7{}\mathrm {i}}\,\sqrt {\frac {{\mathrm {e}}^{-c\,1{}\mathrm {i}-d\,x\,1{}\mathrm {i}}}{2}+\frac {{\mathrm {e}}^{c\,1{}\mathrm {i}+d\,x\,1{}\mathrm {i}}}{2}}} \]
((a + a*(exp(- c*1i - d*x*1i)/2 + exp(c*1i + d*x*1i)/2))^(1/2)*((a^2*(230* A + 301*B)*2i)/(105*d) - (a^2*exp(c*3i + d*x*3i)*(10*A + 17*B)*2i)/(3*d) + (a^2*exp(c*4i + d*x*4i)*(10*A + 17*B)*2i)/(3*d) + (a^2*exp(c*2i + d*x*2i) *(100*A + 113*B)*2i)/(15*d) - (a^2*exp(c*5i + d*x*5i)*(100*A + 113*B)*2i)/ (15*d) - (a^2*exp(c*7i + d*x*7i)*(230*A + 301*B)*2i)/(105*d) - (B*a^2*exp( c*1i + d*x*1i)*2i)/d + (B*a^2*exp(c*6i + d*x*6i)*2i)/d))/((exp(- c*1i - d* x*1i)/2 + exp(c*1i + d*x*1i)/2)^(1/2) + exp(c*1i + d*x*1i)*(exp(- c*1i - d *x*1i)/2 + exp(c*1i + d*x*1i)/2)^(1/2) + 3*exp(c*2i + d*x*2i)*(exp(- c*1i - d*x*1i)/2 + exp(c*1i + d*x*1i)/2)^(1/2) + 3*exp(c*3i + d*x*3i)*(exp(- c* 1i - d*x*1i)/2 + exp(c*1i + d*x*1i)/2)^(1/2) + 3*exp(c*4i + d*x*4i)*(exp(- c*1i - d*x*1i)/2 + exp(c*1i + d*x*1i)/2)^(1/2) + 3*exp(c*5i + d*x*5i)*(ex p(- c*1i - d*x*1i)/2 + exp(c*1i + d*x*1i)/2)^(1/2) + exp(c*6i + d*x*6i)*(e xp(- c*1i - d*x*1i)/2 + exp(c*1i + d*x*1i)/2)^(1/2) + exp(c*7i + d*x*7i)*( exp(- c*1i - d*x*1i)/2 + exp(c*1i + d*x*1i)/2)^(1/2))